package cz.muni.fi.bp165.testproject.testproject;

import java.sql.DriverManager;
import javax.persistence.EntityManager;
import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

/**
 * Hello world!
 *
 */
public class App 
{
//    private static final EntityManagerFactory emf = Persistence.createEntityManagerFactory("HauntedPU");
//    
//    private static EntityManager em = emf.createEntityManager();
    
    public static void main( String[] args )
    {
        
//        try {
//            Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
//            DriverManager.getConnection("jdbc:derby:memory:unit-testing-jpa;create=true").close();
//        } catch (Exception ex) {
//            System.out.println(ex.toString());
//        }
            
//        EntityManagerFactory emf = Persistence.createEntityManagerFactory("HauntedPU");
//        EntityManager em = emf.createEntityManager();
        
        Person p = new Person();
    }
}
